Skip to content

Commit

Permalink
Create real fake files
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@23602 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
Henning Kiel committed Nov 29, 2014
1 parent 2835d11 commit 74ce4ad
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Makefile.in
Expand Up @@ -138,7 +138,12 @@ omc-bootstrapped:
fake_modelica3d:
# create fake files for debian package
mkdir -p $(DESTDIR)/usr/lib/omc $(DESTDIR)/usr/lib/omlibrary-modelica3d
touch $(DESTDIR)/usr/lib/libhuhu.so $(DESTDIR)/usr/lib/omc/libmodbus.a $(DESTDIR)/usr/lib/omc/libmodcount.a $(DESTDIR)/usr/lib/omlibrary-modelica3d/.empty-dir
echo "void fake(void){}" | $(CC) -c -x c - -fPIC -o fake.o
$(CC) -shared fake.o -o $(DESTDIR)/usr/lib/libhuhu.so
ar r $(DESTDIR)/usr/lib/omc/libmodbus.a fake.o
ar r $(DESTDIR)/usr/lib/omc/libmodcount.a fake.o
touch $(DESTDIR)/usr/lib/omlibrary-modelica3d/.empty-dir
rm fake.o

modelica3d:
ifeq (@MODELICA3D@,)
Expand Down

0 comments on commit 74ce4ad

Please sign in to comment.